<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Car extends WXController
{
    function __construct()
    {
        parent::__construct();
        $this->load->model('MCar');
    }

    public function detail(){
        $detail = $this->MCar->getById($this->param['id']);
        $detail->need_auth = $this->siteConf->need_auth;
        $this->ReturnJson(200,true,'success',$detail);
    }
}
